package com.weishenai.customerassistant.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.weishenai.customerassistant.entity.PublishingTask;

public interface PublishingTaskService {
    IPage<PublishingTask> selectBySubstation(String substation,Integer pageNum,Integer pageSize,String keyword);

    Integer addOrUpdateTask(PublishingTask publishingTask);

    int deleteById(Long id);

    IPage<PublishingTask> selectByWechatId(String wechatId,Integer pageNum,Integer pageSize,String state);

    int updateState(String wechatId,String state,Long id);

    int deleteByState(String state);
}
